home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / chptrd.z / chptrd
Encoding:
Text File  |  2002-10-03  |  5.4 KB  |  199 lines

  1.  
  2.  
  3.  
  4. CCCCHHHHPPPPTTTTRRRRDDDD((((3333SSSS))))                                                          CCCCHHHHPPPPTTTTRRRRDDDD((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      CHPTRD - reduce a complex Hermitian matrix A stored in packed form to
  10.      real symmetric tridiagonal form T by a unitary similarity transformation
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE CHPTRD( UPLO, N, AP, D, E, TAU, INFO )
  14.  
  15.          CHARACTER      UPLO
  16.  
  17.          INTEGER        INFO, N
  18.  
  19.          REAL           D( * ), E( * )
  20.  
  21.          COMPLEX        AP( * ), TAU( * )
  22.  
  23. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  24.      These routines are part of the SCSL Scientific Library and can be loaded
  25.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  26.      directs the linker to use the multi-processor version of the library.
  27.  
  28.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  29.      4 bytes (32 bits). Another version of SCSL is available in which integers
  30.      are 8 bytes (64 bits).  This version allows the user access to larger
  31.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  32.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  33.      only one of the two versions; 4-byte integer and 8-byte integer library
  34.      calls cannot be mixed.
  35.  
  36. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  37.      CHPTRD reduces a complex Hermitian matrix A stored in packed form to real
  38.      symmetric tridiagonal form T by a unitary similarity transformation: Q**H
  39.      * A * Q = T.
  40.  
  41. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  42.      UPLO    (input) CHARACTER*1
  43.              = 'U':  Upper triangle of A is stored;
  44.              = 'L':  Lower triangle of A is stored.
  45.  
  46.      N       (input) INTEGER
  47.              The order of the matrix A.  N >= 0.
  48.  
  49.      AP      (input/output) COMPLEX array, dimension (N*(N+1)/2)
  50.              On entry, the upper or lower triangle of the Hermitian matrix A,
  51.              packed columnwise in a linear array.  The j-th column of A is
  52.              stored in the array AP as follows:  if UPLO = 'U', AP(i + (j-
  53.              1)*j/2) = A(i,j) for 1<=i<=j; if UPLO = 'L', AP(i + (j-1)*(2*n-
  54.              j)/2) = A(i,j) for j<=i<=n.  On exit, if UPLO = 'U', the diagonal
  55.              and first superdiagonal of A are overwritten by the corresponding
  56.              elements of the tridiagonal matrix T, and the elements above the
  57.              first superdiagonal, with the array TAU, represent the unitary
  58.              matrix Q as a product of elementary reflectors; if UPLO = 'L',
  59.              the diagonal and first subdiagonal of A are over- written by the
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. CCCCHHHHPPPPTTTTRRRRDDDD((((3333SSSS))))                                                          CCCCHHHHPPPPTTTTRRRRDDDD((((3333SSSS))))
  71.  
  72.  
  73.  
  74.              corresponding elements of the tridiagonal matrix T, and the
  75.              elements below the first subdiagonal, with the array TAU,
  76.              represent the unitary matrix Q as a product of elementary
  77.              reflectors. See Further Details.  D       (output) REAL array,
  78.              dimension (N) The diagonal elements of the tridiagonal matrix T:
  79.              D(i) = A(i,i).
  80.  
  81.      E       (output) REAL array, dimension (N-1)
  82.              The off-diagonal elements of the tridiagonal matrix T:  E(i) =
  83.              A(i,i+1) if UPLO = 'U', E(i) = A(i+1,i) if UPLO = 'L'.
  84.  
  85.      TAU     (output) COMPLEX array, dimension (N-1)
  86.              The scalar factors of the elementary reflectors (see Further
  87.              Details).
  88.  
  89.      INFO    (output) INTEGER
  90.              = 0:  successful exit
  91.              < 0:  if INFO = -i, the i-th argument had an illegal value
  92.  
  93. FFFFUUUURRRRTTTTHHHHEEEERRRR DDDDEEEETTTTAAAAIIIILLLLSSSS
  94.      If UPLO = 'U', the matrix Q is represented as a product of elementary
  95.      reflectors
  96.  
  97.         Q = H(n-1) . . . H(2) H(1).
  98.  
  99.      Each H(i) has the form
  100.  
  101.         H(i) = I - tau * v * v'
  102.  
  103.      where tau is a complex scalar, and v is a complex vector with v(i+1:n) =
  104.      0 and v(i) = 1; v(1:i-1) is stored on exit in AP, overwriting A(1:i-
  105.      1,i+1), and tau is stored in TAU(i).
  106.  
  107.      If UPLO = 'L', the matrix Q is represented as a product of elementary
  108.      reflectors
  109.  
  110.         Q = H(1) H(2) . . . H(n-1).
  111.  
  112.      Each H(i) has the form
  113.  
  114.         H(i) = I - tau * v * v'
  115.  
  116.      where tau is a complex scalar, and v is a complex vector with v(1:i) = 0
  117.      and v(i+1) = 1; v(i+2:n) is stored on exit in AP, overwriting A(i+2:n,i),
  118.      and tau is stored in TAU(i).
  119.  
  120.  
  121. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  122.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. CCCCHHHHPPPPTTTTRRRRDDDD((((3333SSSS))))                                                          CCCCHHHHPPPPTTTTRRRRDDDD((((3333SSSS))))
  137.  
  138.  
  139.  
  140.      This man page is available only online.
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.